package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_PROFITANDLOSS database table.
 * 
 */
@Entity
@Table(name="HIS_PROFITANDLOSS")
@NamedQuery(name="HisProfitandloss.findAll", query="SELECT h FROM HisProfitandloss h")
public class HisProfitandloss implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="SY_NO")
	private long syNo;

	@Column(name="CK_NO")
	private BigDecimal ckNo;

	@Column(name="CK_NUMBER")
	private BigDecimal ckNumber;

	@Column(name="CP_NAME")
	private String cpName;

	@Column(name="CP_PH")
	private String cpPh;

	@Column(name="\"SY_ EXPLAIN\"")
	private String sy_explain;

	@Temporal(TemporalType.DATE)
	@Column(name="SY_DATE")
	private Date syDate;

	@Column(name="SY_NUMBER")
	private BigDecimal syNumber;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	public HisProfitandloss() {
	}

	public long getSyNo() {
		return this.syNo;
	}

	public void setSyNo(long syNo) {
		this.syNo = syNo;
	}

	public BigDecimal getCkNo() {
		return this.ckNo;
	}

	public void setCkNo(BigDecimal ckNo) {
		this.ckNo = ckNo;
	}

	public BigDecimal getCkNumber() {
		return this.ckNumber;
	}

	public void setCkNumber(BigDecimal ckNumber) {
		this.ckNumber = ckNumber;
	}

	public String getCpName() {
		return this.cpName;
	}

	public void setCpName(String cpName) {
		this.cpName = cpName;
	}

	public String getCpPh() {
		return this.cpPh;
	}

	public void setCpPh(String cpPh) {
		this.cpPh = cpPh;
	}

	public String getSy_explain() {
		return this.sy_explain;
	}

	public void setSy_explain(String sy_explain) {
		this.sy_explain = sy_explain;
	}

	public Date getSyDate() {
		return this.syDate;
	}

	public void setSyDate(Date syDate) {
		this.syDate = syDate;
	}

	public BigDecimal getSyNumber() {
		return this.syNumber;
	}

	public void setSyNumber(BigDecimal syNumber) {
		this.syNumber = syNumber;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

}